package org.mq.mymq.nameserver.event.listener;

import org.mq.mymq.common.event.Listener;
import org.mq.mymq.nameserver.event.model.SlaveHeartBeatEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName SlaveHeartBeatListener
 * @Description
 * @Author jiarong_ye
 * @Date 2025/6/23 10:35
 * @Version 1.0
 */
public class SlaveHeartBeatListener implements Listener<SlaveHeartBeatEvent> {
    private static final Logger log = LoggerFactory.getLogger(SlaveHeartBeatListener.class);

    @Override
    public void onReceive(SlaveHeartBeatEvent event) throws Exception {
        log.info("主节点接收到从节点心跳信号");
    }
}
